//
//  SRAlbumListCollectionViewCell.h
//  StoryShow
//
//  Created by CyonLeuMBP on 2017/3/31.
//  Copyright © 2017年 qudiandu.cn. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "SRExpandSelectButton.h"
#import "FZHomeCourseModel.h"

extern NSString *const kSRAlbumListCollectionViewCell;
@class SRAlbumListCollectionViewCell;

@protocol SRAlbumListCollectionViewCellDelegate <NSObject>

@optional

- (void)albumListCollectionViewCell:(SRAlbumListCollectionViewCell*)cell didSelectItemIndexPath:(NSIndexPath *)indexPath;
- (void)albumListCollectionViewCell:(SRAlbumListCollectionViewCell *)cell deselectItemIndexPath:(NSIndexPath *)indexPath;
- (void)albumListCollectionViewCell:(SRAlbumListCollectionViewCell*)cell previewVideoInfoItemIndexPath:(NSIndexPath *)indexPath;

@end

@interface SRAlbumListCollectionViewCell : UICollectionViewCell

@property (weak, nonatomic) id<SRAlbumListCollectionViewCellDelegate> delegate;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *coverImageView;
@property (weak, nonatomic) IBOutlet UIButton *checkButton;


@property (strong, nonatomic) FZHomeCourseModel *albumModel;
@property (strong, nonatomic) NSIndexPath *indexPath;
@property (assign, nonatomic) BOOL checkButtonStatus;//YES checked
@property (assign, nonatomic) BOOL checkButtonHidden;//隐藏checkbutton

- (void)updateCellInfo:(id)data;


@end
